//
//  SuitUIV.h
//  mbstore
//
//  Created by huangyi on 14-3-17.
//  Copyright (c) 2014年 huangyi. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "ItemUI.h"
#import "ProductListUIV.h"
#import "StrikeThroughLabel.h"
#import "ProductInfo.h"
#import "ProductDetail.h"
#import "MBStoreSrv.h"
//#import "CommoditiesController.h"
//#import "EPOSDetailEntity.h"

@interface SuitUIV : UIView <UIScrollViewDelegate>{
    ProductListUIV *productVie;
    ProductDetail *productDetail;
    ProductInfo *proInfoVie;
     MBStoreSrv *responseCtr;
    NSMutableDictionary *suit;
}

//#pragma hennychen
//@property(nonatomic, strong) CommoditiesController * commoditiesc;//商品库存server
//#pragma hennychenend
@property (weak, nonatomic) IBOutlet UIScrollView *scrollSuit;

@property(nonatomic,weak)IBOutlet UIScrollView *scrollView;
@property(nonatomic,weak)IBOutlet UIButton *productButton;
@property(nonatomic,weak)IBOutlet UIPageControl *pageIndicator;
@property (weak, nonatomic) IBOutlet UIView *vieContentPro;

@property(nonatomic,strong)NSArray *photos;

@property(nonatomic,weak)ItemUI *delegate;

@property(nonatomic)int itemIdx;
- (IBAction)PressUp:(id)sender;
- (IBAction)PressDown:(id)sender;
@property (weak, nonatomic) IBOutlet UIButton *btnUp;
@property (weak, nonatomic) IBOutlet UIButton *btnDown;


-(IBAction)onProductClick:(UIButton *)sender;
-(IBAction)onSwipeLeft:(id)sender;

-(IBAction)onSwipeRight:(id)sender;
@property (weak, nonatomic) IBOutlet UIView *vieContentMoney;
@property (weak, nonatomic) IBOutlet UILabel *labSavePrice;
@property (weak, nonatomic) IBOutlet UILabel *labResultMoney;
@property (weak, nonatomic) IBOutlet StrikeThroughLabel *labStatrPrice;

-(void)showProductItem:(NSString*)itemId;

@end
